package com.example.carrierapp.bean.tender;

import java.util.List;

public class TenderListBean {
    int totalCount;//(integer, optional),

    List<TenderListInfo> items;//(Array[Logistics.Application.CarrierApp.Biddings.SearchBiddingOutput], optional)

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public List<TenderListInfo> getItems() {
        return items;
    }

    public void setItems(List<TenderListInfo> items) {
        this.items = items;
    }

    @Override
    public String toString() {
        return "TenderListBean{" +
                "totalCount=" + totalCount +
                ", items=" + items +
                '}';
    }

    public class TenderListInfo {
     public int id;//资源单Id ,
     public int lineID;//路线ID ,
     public String bidCode;//编码 ,
     public double proNum;//预计运输量 ,
     public int startArea;//出发地 ,
     public String startCity;//出发城市 ,
     public int endArea;//目的地 ,
     public String endCity;//目的地市 ,
     public String createDate;//数据创建时间 ,
     public String proID;//产品ID ,
     public String proName;//货物名称 ,
     public int unit;//计价单位(1吨2整车3件4立方) =['1','2','4'],
     public String unitName;//计价单位名称 ,
     public double winOffer;//(number, optional),
     public double offer;//报价(含税) ,
     public double taxRate;//承运商税率 ,
     public double unTaxOffer;//承运商(计算得到不含税报价) ,
     public int isWin;//;//是否中标 1中标0未中标 ,
     public int isLast;//最后一次报价 ,
     public int userType;//抢竞的用户类型 =['2','4','8','9','10','11','12','16'],
     public int cusID;//抢竞人ID

        @Override
        public String toString() {
            return "TenderListInfo{" +
                    "id=" + id +
                    ", lineID=" + lineID +
                    ", bidCode='" + bidCode + '\'' +
                    ", proNum=" + proNum +
                    ", startArea=" + startArea +
                    ", startCity='" + startCity + '\'' +
                    ", endArea=" + endArea +
                    ", endCity='" + endCity + '\'' +
                    ", createDate='" + createDate + '\'' +
                    ", proID='" + proID + '\'' +
                    ", proName='" + proName + '\'' +
                    ", unit=" + unit +
                    ", unitName='" + unitName + '\'' +
                    ", winOffer=" + winOffer +
                    ", offer=" + offer +
                    ", taxRate=" + taxRate +
                    ", unTaxOffer=" + unTaxOffer +
                    ", isWin=" + isWin +
                    ", isLast=" + isLast +
                    ", userType=" + userType +
                    ", cusID=" + cusID +
                    '}';
        }
    }
}
